package classes;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import classes.DB;
public class test{
	public static void main(String[] args) {
//		String aString="   h004、t016、t013、m032、h009";
//		String a[]=aString.split("、");
//		a.
//		System.out.print(a[0]+a[1]+a[2]);
		
//		int i=90;
//		while(i<150) {
//			char c=(char) (i);
//			String m=String.valueOf(c);
//			String aString="\""+m+"\",";
//			i++;
//			System.out.print(aString);
//		}
		
//		String code="";
//		String codes []={"0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
//        int len=codes.length;
//        int i=0;
//        while(i<6) {
//        	int m=(int) (Math.random()*len);
//        	code=code+codes[m];
//        	i++;
//        	
//        }
//      Connection conn = null;
//      Statement stmt = null;
//      ResultSet rs= null;
//      try{
//      	//连接数据库
//      	conn=DB.GetConnection();
//      	stmt=conn.createStatement();
//      	 String sql = "select * from sys_students where StuId='" +"00001" + "' and stuPwd= '" + "00001" + "'";
//           rs = stmt.executeQuery(sql);// 返回查询结果
//           if(rs.next()) {
//          	 System.out.println("有");
//           }
//           else {
//          	 System.out.println("无");
//           }
//      
//      // 完成后关闭
//	      rs.close();
//	      stmt.close();
//	      conn.close();
//	      
//	  }
//      catch(SQLException se){
//	      // 处理 JDBC 错误
//	      se.printStackTrace();
//	  }catch(Exception e){
//	      // 处理 Class.forName 错误
//	      e.printStackTrace();
//	    }


	}
}
